﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/public-regular.master" AutoEventWireup="true"
    CodeFile="address-list.aspx.cs" Inherits="myaccount_address_list" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderNestedHeader"
    runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMiddleContent" runat="Server">
    <div class="regular-pages inline">
        <div class="shopping-cart-grid">
            <asp:Repeater ID="repAddressLists" runat="server">
                <HeaderTemplate>
                    <div class="grid-header clearfix">
                        <div class="grid_4">
                            Name
                        </div>
                        <div class="grid_4">
                            Phone#</div>
                        <div class="grid_8">
                            Address</div>
                        
                    </div>
                </HeaderTemplate>
                <ItemTemplate>
                    <div class="grid-item clearfix">
                        <div class="grid_4">
                            <a href='address-edit.aspx?cid=<%# Eval("Id") %>'><%# Eval("Name") %></a>
                        </div>
                        <div class="grid_4">
                            <%# Eval("PhoneNumber")%>
                        </div>
                        <div class="grid_8">
                            <%# Eval("AddressLine1")%>
                            <br />
                            <%# Eval("City")%>, <%# Eval("State")%> <%# Eval("Zip")%>
                            <br />
                            <%# Eval("Country")%>
                        </div>
                        
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
          <br class="clear" />
        <div class="grid_18">
            <div class="grid_9 alpha">
                Displaying
                <asp:Label ID="lblFirstItemNumber" runat="server"></asp:Label>
                to
                <asp:Label ID="lblLastItemNumber" runat="server"></asp:Label>
                (of
                <asp:Label ID="lblTotalItem" runat="server"></asp:Label>
                Orders)
            </div>
            <div class="grid_9 omega">
                Pages:
                <asp:Repeater ID="rptPaging" runat="server">
                    <ItemTemplate>
                        <asp:LinkButton ID="hlkPage" runat="server" Text='<%# Container.DataItem %>' OnCommand="Paging_Command"
                            CommandName="paging" CommandArgument='<%# Container.DataItem %>' CssClass="plnkinactive reordertext"></asp:LinkButton>
                    </ItemTemplate>
                    <SeparatorTemplate>
                        &nbsp;</SeparatorTemplate>
                    <FooterTemplate>
                        &nbsp;<asp:LinkButton ID="hlkAll" runat="server" Text="All" CommandName="paging"
                            CommandArgument="All" OnCommand="Paging_Command" CssClass="plnkinactive reordertext"></asp:LinkButton>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
        <br class="clear" />
    </div>
</asp:Content>
